FROM images:5000/images/alpine-java

MAINTAINER xiaobin.pei@qingclass.com

# Set the working directory to /app
WORKDIR /apps/payment/

EXPOSE 8090

COPY ./src/main/resources/apiclient_cert.p12 /opt/
COPY ./target/payment.jar /apps/payment/

# Define environment variable
ENV RUNNING_MODE Venus

CMD ["java", "-jar", "payment.jar"]